#{extends 'include/base.html' /}
#{set title:'新建专辑' /}
<div class="work_nav">
    <ul>
        <li ><a href="@{Members.work(0)}">我的作品</a></li>
        <li><a href="@{Members.draft(0)}">我的草稿</a></li>
        <li><a href="@{Members.album(0)}">我的专辑</a></li>
        <li class="work_nav_active"><a href="@{Members.addAlbum()}">发布作品</a></li>
    </ul>
</div>
<div class="simple_wrap editor_work_wrap" style="overflow: hidden">
        <ul class="path_nav">
            <li class="path_index"><a href="@{Application.index(0)}">首页</a></li>
            <li>><a href="@{Members.home()}">个人中心</a></li>
            <li>><a href="@{Members.work()}">我的项目</a></li>
            <li>>发布专辑</li>
        </ul>

    <ul class="work_main_nav">
        <li><a href="@{Concerns.myTrend(0)}">动态</a></li>
        <li><a href="@{Members.work(0)}">我的作品</a></li>
        <li><a href="@{Concerns.myConcern(0)}">关注</a></li>
        <li><a href="@{Collections.collectWork(0)}">收藏</a></li>
    </ul>
    <form action="@{Albums.addAlbum()}" method="post" enctype="multipart/form-data">
        #{if err}
            <p class="register_err"style="text-align:center; position: absolute;
                    top: 100px;left: 0px;width: 100%;">${err}</p>
        #{/if}
        <p>发布作品</p>
        <p>专辑封面: <input type="file" class="editor_work_wrap_input" name="image"/> <span class="editor_file_chip">支持png尺寸310*240</span></p>
    <p>专辑标题: <input type="text" class="editor_work_wrap_input" name="album.albumName"/></p>
    <p>专辑说明: <textarea class="editor_work_wrap_input" name="album.info"></textarea></p>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <div class="button_wrap">
        <button class="editor_commit" type="submit">发布</button>
        <button type="reset">取消</button>
    </div>
    </form>

</div>
